package com.siyougame.business.controller.app.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.siyougame.business.controller.admin.inspect.vo.InspectBaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

import static com.siyougame.common.utils.DateUtils1.FORMAT_YEAR_MONTH_DAY;
import static com.siyougame.common.utils.DateUtils1.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("检查记录 Response VO")
@Data
@ToString(callSuper = true)
public class AppInspectRespVO {

    @ApiModelProperty(value = "检查id", required = true)
    private Long id;
    /**
     * 检查标题
     */
    private String title;

    @ApiModelProperty(value = "模板id", required = true)
    private Long tempId;

    @ApiModelProperty(value = "检查名称", required = true)
    private String name;

    @ApiModelProperty(value = "船只", required = true)
    private String vessels;

    @ApiModelProperty(value = "检查时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate inspectDay;

    @ApiModelProperty(value = "检查地点", required = true)
    private String address;


    private List<AppInspectItemRespVO> inspectItemList;

}
